package com.zhentao.service;

import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.model.pojo.user.gift.ChargeUserGift;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Wl177
* @description 针对表【charge_user_gift】的数据库操作Service
* @createDate 2024-12-27 14:00:36
*/
public interface ChargeUserGiftService extends IService<ChargeUserGift> {

    ResponseResult getGifts();

    ResponseResult addGift(Integer id);

    ResponseResult getUserHistoryGift();


    ResponseResult exchangeGoods(Integer giftId);

    ResponseResult saveGift(ChargeUserGift gift);

    ResponseResult updateGift(ChargeUserGift gift);

    ResponseResult deleteGift(Integer id);
}
